package com.neu.service;

import com.neu.po.Book;

import java.util.Date;
import java.util.List;

public interface BookService {
    public void addBook(Book book);
    public List<Book> findAllByUserId(int userId);
    public List<Book> findAllByTime(Date time);

    void cancelBookBybookId(Integer bookId);
}
